package com.jianying.domain;

/**
 * 枚举类型数据下拉列表，如有unit单位 attribute定制属性这几种类型
 * @author yangguoqiang
 * type表示名称
 * valuesJson用json数组保存选择项
 * 各种默认值

 * attribute
 * unit [件，个，套]
 */
public class Enumeration {
	
	private Integer id;
	
	private String type;
	
	private String itemsJson;
	
	private Integer tenantId;

	public Enumeration() {
	}

	public Enumeration(String type, String itemsJson, Integer tenantId) {
		super();
		this.type = type;
		this.itemsJson = itemsJson;
		this.tenantId = tenantId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getItemsJson() {
		return itemsJson;
	}

	public void setItemsJson(String itemsJson) {
		this.itemsJson = itemsJson;
	}

	public Integer getTenantId() {
		return tenantId;
	}

	public void setTenantId(Integer tenantId) {
		this.tenantId = tenantId;
	}
	
}
